class Bal_MP5MAltFire extends MP7MAltFire;

var int InstHeal,RegenHeal;

function Projectile SpawnProjectile(Vector Start, Rotator Dir)
{
	local DKHealProj Proj;
	local SRPlayerReplicationInfo SRPRI;
	local float Modifer;
	local float OverallHeal;
	
	Proj = DKHealProj(Super.SpawnProjectile(Start,Dir));
	SRPRI = SRPlayerReplicationInfo(Instigator.PlayerReplicationInfo);
	Modifer = SRPRI.ClientVeteranSkill.Static.GetHealPotency(SRPRI);
	OverallHeal = (InstHeal + RegenHeal) * Modifer;
	Proj.PostInit(InstHeal,OverallHeal-InstHeal,1.50);
	
	return Proj;
}

function float GetFireSpeed()
{
	local SRPlayerReplicationInfo SRPRI;
	
	SRPRI = SRPlayerReplicationInfo(Instigator.PlayerReplicationInfo);
	
	return class<SRVeterancy>(SRPRI.ClientVeteranSkill).Static.GetFireModeSpeed(SRPRI,Self.Class);
}

defaultproperties
{
	InstHeal = 2
	RegenHeal = 20
    ProjectileClass=Class'DKHealProj'

	bWaitForRelease = False

}
